package khai.spring.ioc;

import khai.spring.annotation.Service;

/**
 * @author Khai Loon
 * @version 2017/4/17 0017 下午 3:25
 */
@Service
public class SpringService {
    public String init() {
        System.out.println("SpringService 进入");
        return "string";
    }
    public static void main(String[] args) {
        String a  ="khai.spring.ioc.SpringService";
        System.out.println(a.substring(a.lastIndexOf(".")+1));
    }
}
